<?php 
	function get_module($type,$params='')
	{
		require_once('module/'.$type.'/index.php');
		$className = 'module_'.$type;
		$con = new $className;
		$con->get_content($params);
	}

	abstract class module
	{
		protected $content;
		abstract protected function get_content($params='');
	}
?>